package com.zyq.thymeleaf.controller;

import lombok.Getter;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Zyq
 * @version 1.0
 * @date 2024/12/31 周二
 */
@Controller
public class ThymeleafController {


    @GetMapping({"/login","/"})
    public String login(){
        return "login";
    }
}
